Smush\Core\LCP\LCP_Controller S

Total Complexity 40
Dependencies 11
Dependents 1
Total lines 196
Lines of code 136
Logical lines of code 80
Comment lines 23
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
handle_lcp_data()
A
53 10 20
ajax_handle_lcp_data()
A
53 8 20
preload_lcp_images()
S
55 5 19
maybe_enqueue_detector_script()
S
53 4 23
should_run()
S
73 3 5
clear_cache()
S
65 3 10
ajax_mark_all_lcp_data_as_dirty()
S
67 2 8
__construct()
S
58 1 14
register_lcp_transform()
S
76 1 4
clear_post_lcp_data()
S
69 1 7
mark_all_lcp_data_as_dirty()
S
82 1 3
do_lcp_data_updated_action()
S
79 1 3